package com.sanpu.kxe.business.main.contract;

import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.base.IBaseView;
import com.sanpu.kxe.business.main.bean.InviteMakeMoneyOutput;
import com.sanpu.kxe.business.main.bean.RebateTotalOutput;

import java.util.List;

/**
 * Description：新收益contract
 * Created by 薛勇军 on 2018/10/17.
 */

public interface EarningsContract {

    interface View extends IBaseView<Presenter> {
        /**
         * 刷新返佣统计
         */
        void showRebateTotalView(RebateTotalOutput output);

        /**
         * 邀请好友数据
         */
        void showInviteMakeMoneyData(List<InviteMakeMoneyOutput> inviteFriendsOutputs);
    }

    interface Presenter extends IBasePresenter {
        /**
         * 获取返佣统计
         */
        void getRebateTotal();

        /**
         * 提现签约
         */
        void withdrawSigning(String withdrawMoney);

        /**
         * 邀请赚钱
         */
        void inviteMakeMoney();
    }
}
